From 176ce51c8798de2c88ea847b00830c9fb12d6a4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 11 Jan 2018 21:25:50 +0100 Subject: [PATCH] Remove os_win32 --- meson.build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 8c91b73..e1c818b 100644 --- a/meson.build +++ b/meson.build @@ -95,9 +95,7 @@ endif host_os = host_machine.system() message('Host os: ' + host_os) -platform_win32 = (host_os.startswith('mingw') or host_os.startswith('cygwin')) -# Is this native win32 -os_win32 = host_os.startswith('mingw') +platform_win32 = host_os.startswith('mingw') or host_os.startswith('cygwin') or host_os.startswith('windows') platform_osx = host_os.startswith('darwin') if platform_osx @@ -108,8 +106,8 @@ endif platform_android = host_os.contains('android') -path_sep = ( os_win32 ? ';' : ':' ) -dirs_sep = ( os_win32 ? '\\' : '/' ) +path_sep = ( platform_win32 ? ';' : ':' ) +dirs_sep = ( platform_win32 ? '\\' : '/' ) conf.set('BABL_PATH_SEPARATOR', '\'' + path_sep + '\'') conf.set_quoted('BABL_DIR_SEPARATOR', dirs_sep) -- 2.30.2